Initial code import.
Added setup.py for easy installation.