implement package manage.

Change-Id: Ie2d5bc46298326faeb7cf94d966386b8b5ef76f0
Signed-off-by: moreus <weicheng.mao@gmail.com>