Some particle functionality

Not quite there, but better.