add history, tweak __init__.py and setup.py