Turned base64 de/encoding into a typeclass and added support for Integers.