title: Node.js and Mongoose, too slow to put Schema definitions in separate files?
body: <p>Playing around with Node.js and I really want to keep my file structure organized.  Normally in a project in another language I would have a structure like this:  </p>
  
  <ul>
  <li>Node App Directory
  <ul>
  <li>App.js</li>
  <li>Controllers
  <ul>
  <li>UserController.js</li>
  <li>OtherController.js</li>
  </ul></li>
  <li>Models
  <ul>
  <li>UserModel.js</li>
  <li>OtherModel.js</li>
  </ul></li>
  </ul></li>
  </ul>
  
  <p>The (potential) problem I see is this:  I use Mongoose and MongoDB for my database, in order to define a "Model" I need a Mongoose Schema, in order to do that I have to connect to the database with Mongoose in each of the Controllers and Model files.  </p>
  
  <p>I know so little about these technologies, this could be lightning quick and never be an issue and I wouldn't have a clue.  Or is this something I should avoid and just shove everything in one (very large) file?</p>