Learning to implement MVC architecture in PHP