init migration and crud