refactored engine and particle setup
implemented object linking for the particles
Merge branch 'basic-fixes'