Added reference implementation? Needs testing...

No extension support yet...