add system api and close #23
implement store api and close #22