fixed some typos in doc
removed commented code
removed spurious imports