GetEntities class