[NUCCORE-1186] Refactor out ValueGeneration class