added docs. rewrote ast to not repeat namespace. added the ability to fiddle with namespaces