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.
Yeh, I've been thinking a lot about it too, still not sure what the best way is of doing this though.