small typos in comments
support for "inner" parameter in webtools
updated syntax with [ ] for singletons and < > for attributes