Added comments

Added comments for class description and function description.