Generate Message resource.
Implement 'index' and 'create' actions for messages.