In the libroclass branch a custom monad class is introduced, combining a config Reader and a log Writer.
In the webservice branch LiBroState is introduced to manage the synchronisation MVars.
Combine them in a RWS (Control.Monad.RWS.CPS) (CPS to avoid space leaks).