Added changes to Tetris classes to cut logic from graphics implementation