Refactor csv responsibility to sales_engine, update tests