Initial version of MainGame