Made Periodic and PeriodicRegister classes.