Introduce csv parser

Merged CSV parser functionality into master branch