Add tornado deployment code, fixes #12