rework how views are loaded from default.php