Rename the Controller class into Model
Simplify Model::getIds()