Refactor CSV Interperter to use strings instead of files