Changed config to be done via the built in Flask config-from-file system and updated all app references.