Merge imqsrouter into router-core