Added smart duel-detecton migration. Changed API and front-end for games