Addition of JPA

In this commit I've added the Entities and the PersistenceUnit and also
a small test class to see how persistence works.