doc: Move existing rst files into api sub-directory