made $grav public so its accessible in plugins