add schema generator and dao test