Turned REST interface into plain objects. Preparing to add Twisted