Refactoring recommendations into a module