Code refactoring and JPA with test introduced
Hibernate-JPA configuration and Code refactoring for testcases