fleshing out dao and spring config