Switched to web.py, flask just was not working out.