Added example with no need for namespace classes, and some  documentation.