Add basic functions of data access