Applied smart pointers to Ogg related classes