The flip side of galaxy formation: a combined model of galaxy formation and cluster heating | Synapse