split API documentation into individual files and move them into their own dedicated top-level directory doc/