added src/mq.[cc,h] to provide status for other program