Removing old way to handle source time functions.

Also added a new file containing all new source time functions.
Refactoring Iteration XML into own class.