init base64 code
bit twiddling
lots of base64 stuff
fixing base64 edge cases
merged base64 with dev2