PLD: cleanup code
PLD: https on settings, #189
PLD: make flake8 for stricter version