Added TextureObject and BufferObject classes, improved RAII coding style (removed ::destroy() method)