Initial button templating

Adding initial templating for sending the response back.
Note that something is broken in the hook so it looks like the functions are never firing