started implementing codes and command enums