added flask stuff so that we can construct a setup package for the entire thing.