tidying up configuration file writer classes