Flask like routing for tornado server