Added timekeeper code from old projects