Created data access layer for