add method getPackagesByModel in interface ModelPackageController