added cli/cmd structure and setup. basic posting to API