Added comments to data members.
Cleaned up the code.