Initial versoin of multithreaded server
Added phony