Added more game logic and changed some class names.