Initial implementation of createEntity and deleteEntity.