external merging module; removed dependencies on fs and path; loading with require