My personal try to create a clasws managing all OpenGL objects