Simplify config.py
Fix all config issues
Add tornado to setup requirements