restructure module, add setup.py etc