Implemented simple config parser.