Add a README file and some docstrings