Start to writing Message Loop Handling