added config parsing
added config parsing