added availability api
audited readonly (needs more audits). fixed some errors.
changed spec status to bg-draft
Merge pull request #20 from tripzero/master

Availability API and some error corrections