added robust CLI tools for accessing API - these are used in KBase