Changed factoryFor method to use normalized AMD module names