Added configuration parameters (directories etc.) to top of code.