Persistence Layer Refactoring

Persistence Layer Refactoring + Integration of all API's with hibernate
+ sample data initializing.