added most of M_Game's  public functions, made Event class