Added documentation. run ./generate_docs.sh