Moving config options to *.cfg file

Seperating the functionality from the content.