Added a main method and compiled to a runnable jar.