Implements AVS
Add token generation (Developer Manual 2.5.2.1, page 26)
Merge pull request #8 from bigokro/master

AVS and Token Generation