updated particle system so that it is a class.  Doesn't work right now