add sync command, move listing to list command