Basics of drawing

Initiate opengl, functions for drawing primitives