[WIP] web.rb: connect to MongoDB