Finish setting up access control for treeVar methods.

Deleted an outdated test.
Removing files which were only relevant when developing the code.