refactoring gameplay shit
refactoring gamestate