Trying to break the code up in to more managable files. Moved the record methods into their own.