added migration and model for messages