optimize dso module

1 perform unlink before copy dso module.
2 add some module to default all modules.
3 remove some dead code.