Created a class for the granular synthesis image tool.