Separated command handling into files. Added Chassis power on/off handling.