Used isort to sort imports. Also added to the git pre-commit hook.