Namespaces

This pull request changes the compiler to emit namespaced code.