Added documentation and changed few variable names.
Authored by: saravanan1181 2013-02-13
Parent: [r6920]
Child: [r6922]