Add database configuration.
modifications to use Hibernate.
Merge branch 'feature/add-hibernate' into develop