Finishes Controller, adds dispatching, routing and other.

The abstract controller is finished in this version, and dispatching, as well as the most basic
form of routing (to be changed) is added. Also includes the index script.Fixes an error with 
autoloading. Adds minor configuration changes.