Code refactor. Removed ParticleNode as it is not used anymore.
Code format