updated View.php, made header into a php file