Created models for database classes