Restructured backend to handle more concurrent connections.