Time intervals mechanism implemented.

SmsServiceElement refactored.