Add library builder
Rearrange code (into class sections), make mesh numbers long's not int's and detach them from order of creation (they still are named that way, but the naming convention isn't assume later in the code). Make mesh centroid and volume calculated once and maintained as member variables on mesh, adding getVolume() and getCentroid() methods to avoid costly re-calculation.