Fixed bug and help in getcsv, and promoted associate function to public method, and cleaned up its implementation