Reorganized config file formats and defaults. (TODO: implement log, mail, storage)