Major update to record processing
Detect the type of record to be processed.
Detect the record type.
Merge branch 'temp'

Conflicts:
	include/record.hxx
	record.cxx