Formatting and added base64 methods
Merge pull request #3 from arjunballa/master

added base64 methods and fixed formatting