Adding powerOn / powerOff API, with corresponding status attribute and event handlers