Add JPA configuration and initial entities.