Packaging

rearrange library files and add a setup.py for easier packaging