game class added. One field:state. Comes 'working' when pageloaded.