Created a named-compound-record class to act as a higher-level wrapper around the data records (do clustering and conversions).