Add docstrings to code and basic info to the README.