[feature] stated based csv parsing added to the csv layer