implemented webgl renderer class. Platformer works