Now removing collections, socks from respective arrays.
Cleaned addCollection server method.
Added logging by UDP.