refactored the tetrisgame to break out the UI and keyboard listender