redesigns APIs; update README.md