Added program to select fields
Extracted representation of Record into own module