Mongoose wrapper for application logic