Added code to pass results to CIdb to store in the database. Cleaned up some old code.
Merge pull request #7 from filinep/dbIntegration

CIdb Integration

Added code to pass results to CIdb to store in the database.
Cleaned up some old code.