Moved tetris code into separate class, made game time not dependent upon framerate