The beginning of a general-purpose heat pump controller.