Making changes suggested by PyLint and adding info to README