This method will create a string of body classes based on common variables, like the currently active option, view, and layout. It also splits the path of the currently loaded URL and puts it into the class string.
The advantages of this is that it allows you to style views as well as layouts and specific pages on your site.