Added bnot and xor to bitwise ops, also exported ops for reuse; pulled out various unused data structures into own new repository