First draft of API design