Integrated and Tested TaskMainSM

Compiles and Runs, currently doesn't transition form Start on purpose.