Added comments

Added commments to all methods