move renameCollection commands to its own file