php basic scripts as MVC