Represent variables uniformly using integers
Update the Z3 tutorial example
Update template haskell module
Update backends accordingly