fleshed out api_cmd.rb - 1st pass and some command scripts;  reqs are not working yet