Set new django setting. Put tornado code in a seperate file.
Merge pull request #548 from ostcar/master

Tornado