Heterogeneous Agent Models in Continuous Time