Billiards, quadrilaterals and moduli spaces