Created Record class