Implemeting data access layer.
Implemeting data access layer.