Refactored a bit.
Changed default name of output jar.