ground work for adding commands and granting rewards