Use old code method of registering schedule interval
Changed how we keep timers
Fixed bug in util/state.py