Finished implementation of instruction modification. Fixed bugs, cleaned code and added features.