Add-fix tornado bug

Only load tornado dependent classes when tornado is available.
Merge pull request #140 from wouterdebie/master

Add-fix tornado bug