Add an IMessageManager interface + reduce scope for message steps

Signed-off-by: Nico Rutishauser <nr@hotmail.ch>