Initial clean up.
Remove support for local variables.
Move helper tests into their own file.
Rename Mote constant to HMote.
Add sanitization by default.
Remove unneded parameter.