split timer functions into its own file
split timer functions into its own file