Adding RETE interface. Initial step before implementation.

1. Some of the Manager request messages are already implemented as inline.
2. The same is for the Device publish message.