moving world to another class