Code cleanup. Finally finished implementing the new direction system.

Core functionnalities work fine.
The receiver inverter works fine too.
The delayer doesn't work currently.