Added some explanatory text.
Added notes about the functions which are getting called.

And referenced the macros that are used.