Placate pyflakes and pep8.
Gut the thing and rewrite it.
wrap -> _wrap
Add coveragerc.
Add a ton of tests; fix bugs the tests exposed.
Add a synchronous yam client.