Implemented Timer.destroyTimer
Moved randomEmit/randomExec to Timer class