Bandit

Some minor adjustments to formatting and cleanup of the python source files