Flake8 and some docstring changes, remaining docstring changes and pytest module stil to follow