Going for a full rewrite using Tornado