adding a new CappedNanotubeGenerator class for future development
Replacing StructureSpecs with StructureFormatter class
replace StructureSpecs subclasses with StructureFormatter subclasses