Added summary to the code

added detailed summary  to all the methods that actively i use