update setup.py to support pypi
add test suite