App init.

Signed-off-by: jaredq <jaredqin@gmail.com>