Chapter 13 Rational billiards and flat structures