Added Hibernate Integration
Refactoring and new REST functionalities