Added the acceleration class.
Restructuring.