Adding class description.
Removing many unused variables and extra spaces.