First draft of the internal backend API (stubs)