Fixed extensions api

The commit has a few changes to the loading system. 

If you check the differences. WHat was happening is.
You loaded your config then loaded extensions. Fixed that by moving it up lines. But than ran into problem where it registers it then it gets wiped by internal clear system on registerVanillaRoutines. Thus erased again even though we registered..

So moved code around. Moved system into the external plugins manager. Then.. Well actually This is a lot to type. Diff shows the fixes..