getcode method
broke out totp and hotp methods
refactor
test get code method
smoke totp method
Merge pull request #3 from tristanwietsma/addCodeMethod

getcode method