adding config parser and example