General fix

Normalized python files, 
ported code to python3
debugged (on windows)

I renamed some files, git didn't catch the rename for me, I didn't delete any functional code.