adding function to change objects based on sharing level. Note that
sh_lev=1 must already exist. Otherwise, this function is not going to
work. Also, functions to analyze results are removed because they were
implemented as sql scripts because cppconn cannot retrieve large amounts
of data.