Move loading of base.php to header