Mathematics for 2d Interfaces