Add TimerStop function.
Generate tapkey state machine with ragel.
Convert all files to c.