generic IFTTT engine written in C++