Cofnod E-bost: Stochastic modelling of infectious diseases for heterogeneous populations