Attempting to construct a MVC architecture in php technology.