Initial code for X10 communications