This is the controller which handles the entities of different "classes".