added subsections to API design and related work