The struct decoder is defined in decoder.h. For naming consistency, define the struct controller in controller.h.