refactor to use JPA/eclipselink + guice + guice-persist