Use app container to resolve extensions

More flexible