modify package structure

modify package structure and add template message service