Update README and add documentation.