Base MVC for php applications