Updated namespaceparser logic for elegance; it now accepts a single parameter some method names were changed for simplicity and brevity
Updated example1 to account for new namespace parser logic