solved pep8 and pylint issues
updated resources.py