Added documentation for lookup module.
Fixed lookup module for pep8 errors.
Fixes due to pylint errors.