Added relay, debug messages and a status python script