Organized the Ranks modules by placing them in their own directory.  Made some formatting changes to the code in several files as well.