refactored GeneratedFunctionsSystem class. Part I