Converted all of the bitops to locals for speed
Made things more instance-dependent and you can change roms now

Also renamed things to be consistent