removed unused line
removed main function
started work on documentation