updated config parsing and first tests