Add rev integration.
tweaks
Merge pull request #17 from pursual/master

Rev integration