Documented utils
Refactored countdown code