added config parser