finnished out the thread program for infinite loop
finished message sent page
added write file
merged in chages