Set up base class model