Tornado adapter

Fixes #4