added contents migration and model