Made all server classes start their own thread, to allow starting them
in main methods, to enable testing.