Trying to get the Emulator to work

Changes regarding the libs
More Changes for Emulator

Should work