Step 3

create main fn done. create mesage callback done. create message pump done.