Implemented main entry point and build executable jar.