Add commandline invocaiton and build for the tool