Started threads in server and main app.