A bunch of code related to my gear clock,