Added repository interface/wrapper over db layer