rework state storage factories and complete backgrounds page