Class-ify caves & move to cavegen.cpp, add caves to Mapgen V7