change to AgentId
add DataStore class
add IO doc group
 use Data Store to save instance step