added csv parser and tests