runtime device specific code loader