add reference implementation
add reference implementation now with actual feature committed :astonished:
Merge pull request #24 from jchannon/addreference

add reference implementation