fix some documentation typos
move api reference and history to their own files