Initial reorg into module
Add setup.py
Update .gitignore
PEP8 and convert tabs to spaces
changes