Made a base model class in which should be subclassed