Modified code to now use namespaces. Function names have changed
Updated examples.txt to reflect switch to namespaces