finished CRUD and defined models