Removed all JPA integration to make code more simple and make it executable.