removed scope.get
more cleanup
some performance improvements, and docs