config parsing partially implemented