pep8 fixes
added exception on import and added logger
added requirements.txt file