backend implementation for package manager