Added JPA repository, entities to demonstrate synchronization with
transactions.
Clean up redundant implementations.