started to work on namespace support
finished integrating the namespace support. updated the examples to make them work with the new changes.