The arithmetic and geometry of moduli spaces and their fundamental groups are a very active research area. This book examines the geometry of moduli spaces of curves with a function on them. It covers the absolute Galois group $G_{\mathbb Q}$ of the algebraic numbers and its close relatives.