Reworked timers code

Moved calculation into a discrete function. 

These changes are completely untested and must be paired with the corresponding updated client.config.json
Forgot self.

This is why we use branches and test first
Updated for custom.py changes

Updated commands to work with the cleanup changes in custom.py

Untested changes
Tweaked logging

Slightly tweaked logging to be able to tell the difference between the old and new code
Merge pull request #2 from fortinj1354/cleanup

Merge cleanup branch