Fix style issues and applied Hibernate Ehcache for entities