Some code-reorganizing
add deleteStatement, _checkModelParameter

wrote tests for deleteMatchingStatement

use _checkModelParameter to do checks for the model
uri in different functions