add message loop to add delayed timer function
add looper init and destroy function