implemented basic plugin loader
trying to make cross-compile loader