refactorisai