Just added some stuff to make sure the framework is running.Also added some modifications to initparticles.