include loadModels function in Controller.php