First pass at extracting csv_model from internal codebase.

Ready for review.
same comment as before - should be in `HeaderRow` class