add collectdao.java file to the project