fix config
debug queries
Use gevent, remove *.pyc files, add app.db to .gitignore