add config_parse function to project