header.php refactored by MVC pattern

introduction of courseModel.php, teacherModel.php, and headerView.php