changed xml configurations to annotations for dao classes