Added particles and autocleaning to objectcontainer.

Note: Implementeation is retarded but it is just for testing