database classes updated and tested