Refs #5037 Refactor the factory out of the Period class in its own Period\Factory class
Refs #5037 Apply the enabled periods to API