cli calls REST API

Get create_node working
Need to do the same with the other cli command