Implemented addPackage use case