fix shebang
run app in debug mode when using run script
ignore virtualenv directories
move config to config.py
add registration route