Refactoring install modules. Adding manager class