[ALL] changed main for the new EasySensor class