adds A Dark Room's state manager to lib and propagates changes