final declarations, and a dynamic context path
final declarations, a NPE fix
Rewrote simple example into something understandable