A state managed platform for the cloud