Common base for atc and github-bookeditor