Cleaned up the classes folder.

The contents of the all the files have been left the same. They have just been modified to follow a consistent coding style.