Added marker interfaces for messages, extraced queue management