Moved validation to beans. Fixed minor persistence bugs.
working entitymanager
removed jpa - it's not manageable with it.