all commands implementd, flag generation should be reworked