scaffold plugin structure