Added comments to code involving Tornado