Added setup.py for installation.
Rearranged for installation via pip.