Add more features for new architeture, Make every plugin return its value, add error string table, extract some function