adding functions to spring lib

- getParticle
- getParticlePosition