update: use Router as way to dispatch messages;
change: use spaces as indent;
add: simple test case for Router;
change: use tracer as default logger.

Signed-off-by: liuyanghejerry <liuyanghejerry@126.com>