add StatusPollingThread class
add EMULATOR mode in the Camera class