Add base class for program