Adding tools.py, updating README to reflect this.