Setting up a global output folder.

Relates to #315
Merge branch 'feature/315-configure-global-outputfolder'