Added dependency for base64 (image) encoding to pom.xml. Also corrected its indentations.