Namespace, beginning of the docs, small code fixes and formatting.