Refactored PixelWorld, RealWorld and dependants to make them more coherent.