added database classes