improve Init func
change context to message struct
remove unnecessary NewPipelinePack
fix the pack recycle logical bug