code for data access, but more important is to find a way
to write code looks like sync mode but executes in async mode.
add sample api file and rename data_access files