Move attachment offsets up onto one line.
Add a hook for specifying the joint group.
Add a first pass at parsing the marker attachments.