Solenoid on joy

Merge Solenoid handling code with Compressor logic