Changed hibernate log level to warn - too noisy
Reformatted file
Organised imports
Switched over to generic hibernate classes