implemented a basic dylib core loader that loads correct emulator according to file extension