Enhanced commandline usage and some small fixes

Hi there
I checked out your project and noticed some stuff that was not working well for me yet. 

I fixed a few parsing problems and enhanced the commandline usage by adding a manifest to the jar and extended the parameters to accept a directory.

Have a look at the commits if you would like to merge them back to main.

Greetings
  Tobias Zwick