Added mechanism for handling deleted rows; Added row iteartor; Updated most functions