added Validator
removed JPA dependencies