add gameclass, switchstate, static functions