adding method to create a world based on a configuration