Hibernate config

Hibernate is now completely functional.
The next update will be about how the controller deals with date URLs