flask tornado practices