Optimized new file trasfer
Implemented priority queue for tasks
Fixed bug in file_pool and race condition in server