Added hibenate functionality

Changed hibernate annotations in entity classes
Added class HibernateUtil