Bit of an overhaul. Added in tornado so streaming now works without any black magic. Arranged all the code. Flask redirect looks to be a little slow. Currently the database attempts to rebuild ever launch and throw exceptions.