changed directory structure

Changed directory structure for MVC model with Mongoose.