Added configuration of the flask system. Closes #26