Added configuration file

Started moving hard-coded sections into configurable preferences file.