Update README.md
Add script
Move into module and separate API and CLI