Initial working version using GridStore
Use local MongoDB when no options.db is specified.
Cleaned up dead code and debug console.logs