Add missing base64 require

Fixes #20
moved the require to the place to source which uses it

Fixes #20