compose check/select for deleting an entity.
added delete entity functionality.
made property for injection public.