Moved clean methods into separate clean.rb file.
Date type is now set along with the date field, rather than during the wrapping of the data values.