Re-arrange source code about managing refactoring actions. This way will
help to maintain the actions separately from other tasks