Use imp module, instad of pkgutil for module find.
Advantages:
1. doesn't have to modify sys.path
2. doesn't import the modules, when looking for them
Refactoring. Added comments.