Implemented some argument parsing for module commands