Created DAO and DAOFactory