Moved generate logic to own file. Added data to data file and transitioning over to using it instead.