The main topic of this book is a novel construction of the correlators of two-dimensional rational conformal field theories on arbitrary world sheets, allowing in particular for physical boundaries as well as for defects and general defect junctions.