refactoring to add PaperRecord object, WIP
added merge functionality