Database config

Adding Hibernate config