http://www.sitepoint.com/front-controller-pattern-1/