Add main.c file.

Signed-off-by: oooxff <oooxff@gmail.com>