Issuer API & model

[closes #6]

This is ready for review – which has been ongoing anyway!