Set up base class