wrap server side game into object