several changes to organization of main, main is now runnable and state...

Sriram Venkataraman requested to merge Sriram_Code into master

several changes to organization of main, main is now runnable and state machine can advance to operation state

Merge request reports