Resource Sharing Problems, and Applications -- A Simpler Proof of Preemptive Total Flow