Kjr/refactors

Opening this pull request to garner comments and feedback.

Feel free to take some, none, or all of these refactors.

I was just reading through clockwork's source to get a better understanding of how it works, and made some edits along the way.

Cheers. :tada: