Fixed use of wrong counter
Rewrote master/slave to use only one state machine
Added standbykiller state machine
Added missing endpoint definitions
Added translations