refactoring to actions, install module working