add xor to bit locating function
add a notes file with plugin implementation details
add some more necessary functions ...