add JPA config and entities