change print trace function to use from commandIO
remove compiler switch to make functions able to wrap in unittest
move create response from scriptctrl to commandIO
Implement Unit_test and create Responseframe an send response function