Create TSwitch.cpp