Added simple gl API