Implementing write chapter

namespaces have to be global for the repository.