Moved up/down operations to use full API.
Add up/down cmdline options