Reorganize API, fill in readme.