Move commands enum into cmd.h