Refactores package manager manager