added config parser to parse default environment