moved particles to lib.pde
fixed particles
moved particle methods to lib.pde