changing installation to depend on the repo class instead on a specific repo