construct glrootview related class