reorganize flex timer code
begin implementing gettimeofday and settimeofday