Ad message factory for response messages
Major changes to library API