add arg parser for dirmod, define major commands