changed sys.exit to raise Exception in ic
Merge pull request #17 from livingstore/FSM-dev

changed sys.exit to raise Exception in ic