Completed secondary database functionality
Merge branch 'snap-rna' of https://github.com/amplab/snap into snap-rna