reoganisation of cool as two server threads and the elasticity manager