Clean up the cartridge and memory bank controllers implementation
Removed unused function xerror from utils