Adding new random interval mode, some timer cleanup to keep all the timer stuff (including interrupt and callback) in the timer module