Move provider to generatorController