Move globals, jump and run commands to cmd/