title: Directory Structure for MVC
body: <p>I'm trying to clean up the framework I've been working on. Right now, the site consists of the following directories:</p>
  
  <pre><code>Models
  Views
  Controllers
  Helpers (Miscellaneous functions)
  Libraries (Universal classes, like library and session management)
  Images
  Style
  </code></pre>
  
  <p>Any time a page is called, the router script looks up the associated controller, so thesite.com/login would instantiate Login_Controller at '/controllers/login.php' The problem I'm facing is, the router script itself feels like a type of controller, as does view.php, which handles formatting data to be handled by the appropriate view. But these aren't quite like page controllers, since they control the MVC itself. I'm still somewhat new to this architecture, and I'm curious how someone with more experience would organize this. </p>
  
  <p>Could I classify the router and view controllers as libraries, or would it be better to create a subdirectory inside /controllers called 'pages', or any other ideas? Thanks so much. </p>