removed troubleshooting driver code and created World class