Created the models for the database