corrected term in packageController
adjusted getting a single Package to return codes instead of catalogues
implemented the editing of a package