Remove x-platform code that dependend on nodules as the package loader