World class implemented in main.cpp