added gametimer class