Updated dll and command line application

Please merge.