use new attribute helpers

this also fixes an incorrectly generated IV value problem
utilize individualized option of getSegment() to simplify code
update docs + license