[WIP] Issuer API

work in progress, will close #6