Previously the state was kept by creating a file under state folder. We need to create a migration path for the new state management world.