Write first revision of the API docs