new resources plugin structure