adding crud model code