Move all command into Sync class