Move logics ContainerExtension to FrameworkExtension