Including generic factory and updating web config