Refactored merge functionality into functions. Introduced "method" merge parameter with "plyr" as default, currently.