One of the four major types of lipids is a wax and its major function is to repel water. What are the other three types of lipids and what are their functions.