Pep8 and pylint cleaning