Reinstating getModel in controller to be able to delete packages