import plugins from core and restructure repo