Refactor and simplify CSV Ingestor framework