Creating the model classes