create data access framework