Started work on the server and setup multi thread prossesing