Database driven web application with PHP and MVC