[DependencyInjection] optimized the dependency injection container creation and added a new Asset Twig extension