Added database and Hibernate support