Made the project JPA friendly

Now come with a Persistence.xml and JPA supported!