domain classes

setup JPA and the domain classes