Fundamentals of the mortgage process