added scopeing helpers
extended documentation, added scoping helpers, worked on maps