added modules and hibernate dependencies.