Move the time machine into its own module