re-factored in clean/safe classes and made Solenoids state machine updated by the internal timer
re-factored in clean/safe classes and made Solenoids state machine updated by the internal timer

flupes/catdoor,flupes/catdoor,flupes/catdoor,flupes/catdoor