created migration and models