Rename module ‘refactor’  to ‘search’

This commit renames the refactor module
to better fit its purpose.