Implemented first version of the config parser.