adds tank class and game loop