move jpa repository to separate module