added api_cmd script
updated readme