adding executable for NoPLc so that it can be used from command line, fixing up main function for said executable so that it's easier to use