Creation of the data access layer