Added C version of relay module with cairo overlay.