private function prepareServices()
    {
        $services = new Container;

        $services->set(Router::class, new Router, true);
        $services->set(Dispatcher::class, new Dispatcher, true);
        $services->set(PackageManager::class, new PackageManager, true);
        $services->set(EventManager::class, new EventManager, true);
        $services->set(ViewManager::class, ViewManagerFactory::class);

        return $services;
    }