Created models for database