Modified the way in which messages are serialized. Added an ID to the config. Made delay configurable.