added gl_object.cc
some imporvement