added hibernate dependency, switched over first model classes to a
hibernate approach.