Moved settings to settings.conf

Typing ./conf<tab> was doing my head in
Fixed a bug in config file writer