Removed broken PersitenceContext annotation and closing of entitymanager. TODO: Add a close() method.