refactor + Gameplay class for creating objects