refactor(module): Code climate refactor