Refactoring, single quotes everywhere, a bugfix, renamed/updated
mkeys.py -> write.py