Remove support for JDK 6 (requires 7 or higher)
Make imports explicit (avoids JDK8 conflict with java.util.* import conflicting because of java.util.Base64)
Autoformat code