Added Hibernate dependencies and initialized database settings