Add pre-commit framework and hooks config, update README - black - bandit - trailing-whitespace - end-of-file-fixer
Improvements and tests