resolved hibernate dependencies and implemented hibernate util class