initial commit for refactor using php-mvc-advanced

Initial commit of MVC version