Added the refactor tool to the data manager (finally).