Refactor
Add package to repository object