Major changes to the physics engine

All the new stuff is in the testing folder. I also changed some file
names to avoid some namespace confusion; all file names (that need to)
are now in plural.