Added CRUD functionality to Datagrid