extract plugins  to separate files