Python overhaul

Overhauled everything in Python