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