Prototype ConfigReader. Needs flushing out.