Add the non-template source for the first demo.
Some flask changes