Initial draft of API design