wire up freertos handlers