How can I organize my code to make it easier to change the base class?

You could define an alias for the base class, a