migrated to mongo

Using Mongoose models will greatly simplify data architecture, and make searching convenient.