Completed CSV implementation
Added unit tests for CSV