craete GameMain class.