added simple kodo api

@janusheide what do you think of this API?

I'm not sure how to do it, but it must be possible to ship this with the kodo pip package.