add a glcommonobject class