Move all config stuff to config.cfg file