factored a CodeGen\Config package to handle reading and structuring configs for code generation.