setup.py implementation

Reorganization and update to get setup.py to work.  Still not quite
there.