Added signal functions for boolean logic and for pairing.
Implemented engine control.