Removed unnecessary imports, obsolete or duplicated "docstrings" and upd...

...ated comments