Near-bugfix

- b64 padding is still off
- Removed unused functions
- Replaced functions by more binary patterns
Merge pull request #2 from ferd/refactor-ferd

Near-bugfix