Add Flask to server requirements
Change configuration model so an instance directory can be used
Add flask configuration
Add test instance configuration