configure application, add jpa