created dao layer, changed dependencies