minor refactoring.
changing world generation to be more dynamic based on configuration variables.