1. change the code structure of plugins
2. add the ruby debug support