Structural design and optimization library