Adding basic classes to use mesh for particle motion.