Added refactoring documentation

Added refactoring documentation