Reorganize code directory.

Signed-off-by: Denghui Huang <huangdenghui@gmail.com>