add CrudService, completed entity manager and persistence layer test