refactor code

do not share MsgDeliver any more
add RedisService