make set methods, to encapsulate World and Layer classes