partial update to organism db merger script

process multiple databases into a single one instead
of just merging a pair, and refactor into smaller
operations