Refine project structure. Removed hibernate package from domain.