moved WebGl specific classes into their own file.