Fixes dependencies

`requirements.txt` is currently broken, and the code depends on Flask 0.9 -- this pr fixes that.