public function init()
{
if (!$this->root || !file_exists($this->root)) {
throw new InvalidParamException("The param: 'root' is invalid");
}
$this->services = array_merge($this->defaultServices(), $this->services);
Container::$app = $this;
Container::$instance = new Container();
}