Added Hibernate ORM and error handlers