move csv functions to its own namespace