Added message queue and dispatcher scaffolding.