Refactor package structure and using the pipeline process the XMPP event

Signed-off-by: kim.shen <sjw_job@126.com>