Initial rough draft of API completed.