add the main and message source file

Signed-off-by: zhangzhenhao <zhangzhenhao@outlook.com>