Added OpenGL initialization code.
Added logging class.