add basic entity services for db