Add __init__.py and comments in tools.py