added some methods and cleaned up tests in Record and RecordTool
added parser with tests.