created migration and model files