restructure plugin, module fetches data