Optimize Server and Create Multithread for Server