Updated with CSV example
Updated with CSV example and class for static typing