A rewrite of Biomes O' Plenty to be more flexible and clean