Simple class for controlling a relay in Arduino