repair some bugs and add well to tables
add some files to project