Add missing dependencies.
Remove secret-key global var.
Fix imports.
Fix wrong implementation of hmac-sha256.
Fix syntaxis typo's
Remove unused test file.