Add DatasetController, move model code completely out of non-controllers.