refactoring install mojo