ResourceManager now uses shared pointer for meshes.