Added and updated documentation in README.rst.
Fixed Flake8 warnings.