Added implementation of the particle generator
utils