Merge pull request #171 from timstclair/gstruct

Introduce new 'gstruct' library