changed dao and adding spring