creating data access layer

creating data access layer