Experiment with API, upstream only

* uses just simple queries.
* for more advanced testing it would be good to have some rest wrapper around it.
    * I was asking abellotti if they are planning python client and if not I would make one if we needed it, but the conversation was confusing for me.