Rect-class to start with. Rendering is implemented inside the class. It should be moved to GLContext class by referencing vertices and element arrays and telling wich texture to use.