deleted duplicate daoFactory