Separated world generation from main class