Add variants methods

- specifically getvariant and searchvariants
- these methods are still being tested! so they aren’t public yet :(
they will be soon.