Merge "Implements connection with the emulator"