node service implementation
changed to jpa 2
initial tests with criteria