attempt to merge diego's extract_to_db code into existing master
merged and tested
Merge pull request #18 from dicarlolab/merge_db

Merge db