Initial scaffolding code for messages feature.