Created a helper for managing terrain groups
Cleaned up the terrain_readerwriter example