datastore is refactored to use config rather than hardcoding dbURI
modified:   config.js
modified:   datastore.js