huge refactoring of class World
started mini-test for modularization in Python