Automated mongo chemistry search

This code is an enhanced version where you can automate the searching
and querying in mongo db.