added new commandline interface, not tested yet