added migration and model files