1. Cleared unused imports.
2. Added a small log file