Adding periodic implementation
Periodic test and addTimer named parameter.