添加了初始化及注入能力

Signed-off-by: Meathill <meathill@gmail.com>