Putting it all together – building a simple RESTful API to LXC with Python