Changed require to require_once in modelsAutoload