Adds a simple main wrapper and makes it executable jar entrypoint.

Adds a simple main wrapper and makes it executable jar entrypoint.