added config parser class