Created database classes