add model and migration for messages