Systems model & API.

Implements the systems model & API with some groundwork for hierarchy between issuers, programs and badges.