Changing all files extentions to .php  and adding model-head.php with model-foot.php