creation of model classes