created the models for the main models