Molecular basis of epithelial appendage morphogenesis