created modelBase class with a default constructor