added Mongoose, modularized request handlers