server working in a separate thread...\m/