Cleanup of imports, comments
Added test for base 64 encoding method
Formatting
Base64 encoding method