change mapData function name
add tests
fix buffer issue in csv lib
update README