Reposition event embed query class within plugin structure