Rewrite of code to be simpler

I added a "Hardcoded" class and rewrote fix.py to make use of it.