Added search function and storage in game manager