ENH: added commandline parser