Add message sequeue structure and multi thread