Move timerclock.c/h to timer.c/h, add freq utils