Add internal clock class and test executable

This will be the heart of the clock itself, the rest is UI.