Update CASSmain.py

Removed dependence on sys and prepared file for Barry's GUI