hibernate database classes moved to here