Changed the name of class 'Particle' to 'Entity'