Created adapter for tornado web server