Add a plugin package , modified related classes