Add state library