Catch NPE's in main
Add MANIFEST for executing of the jar
Write some output after successfully saving the file